import Taxpayer from './orderpayer';

const Layout = resolve => {
  require(['./Layout'], resolve);
};

const routeConfig = {
  path: '/order/admin',
  redirect: '/order/admin/orderCenter',
  component: Layout,
  meta: {
    title: '订单管理',
    name: '订单管理',
    show: true,
    icon: 'md-reorder'
  },
  children: [...Taxpayer],
  beforeEnter: (to, from, next) => {
    next();
  }
};

window.routeConfig = [routeConfig];
export default [routeConfig];
